@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>角色管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                    	<div class="row">
                            <div class="col-sm-3">
                                <#searchBox id="roleName" name="角色名称" />
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" click="Role.doSearch()"/>
                                <#button name="重置" icon="fa-trash" click="Role.resetSearch()" space="true"/>
                            </div>
                        </div>
						<div class="hidden-xs" id="roleTableToolbar" role="group">
							<#button name="添加" icon="fa-plus" click="Role.addWindow()" url="/admin/sysRole/add"/>
                            <#button name="修改" icon="fa-edit" btnCss="warning" click="Role.editWindow()" space="true" url="/admin/sysRole/edit"/>
                            <#button name="删除" icon="fa-remove" btnCss="danger" click="Role.doDelete()" space="true" url="/admin/sysRole/delete"/>
							<#button name="权限分配" icon="fa-user-secret" click="Role.menuWindow()" space="true" url="/admin/sysRole/menu"/>
						</div>
						<#table id="roleTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/${adminPath}/role/role.js"></script>
@}